package springcloud.subscrib;


import org.springframework.cloud.stream.annotation.Input;
import org.springframework.messaging.SubscribableChannel;

/**
 * @param
 * @description: 自定义通道名
 * @return
 */
public interface DefaultStream {

    public final static String DEFAULT_TN = "default-in";
    public final static String DEFAULT_IN_BROADCAST = "default-in-broadcast";


    @Input(DEFAULT_IN_BROADCAST)
    SubscribableChannel broadcast();

    @Input(DEFAULT_TN)
    SubscribableChannel aim();

}
